﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Simple.Tools.Map
/// <summary>
/// 版 本 钢易智企2.0 V 2.0.0 钢易智企2.0
/// Copyright (c) 2023 杭州钢易科技有限公司
/// 创建人：曾东明
/// 日 期：2024
/// 描 述：
/// </summary>
{
	/// <summary>
	/// 
	/// </summary>
	[AttributeUsage(AttributeTargets.Property| AttributeTargets.Field)]
	public class MapAddAttribute:Attribute
	{
		private string _methodName;
		/// <summary>
		/// 
		/// </summary>
		/// <param name="methodName"></param>
		public MapAddAttribute(string methodName)
		{
			_methodName=methodName;
		}
		/// <summary>
		/// 
		/// </summary>
		/// <returns></returns>
		public string GetMethodName()
		{
			if (string.IsNullOrEmpty(_methodName))
			{
				_methodName = string.Empty;
			}
			return _methodName;	
		}
	}
}
